<template>
	<view>
		<list-ask
			v-if="item"
			:item="item"></list-ask>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				item:null
			}
		},
		onLoad() {
			if(this.$_isLogin()){
				this.userUid = JSON.parse(uni.getStorageSync('accountAuthToken')).uid;
				this.getList();
			}else{
				uni.navigateBack();
			}
		},
		methods: {
			getList(){
				this.item = {
                    "order": 10,
                    "css": "",
                    "page": true,
                    "query______": "https://docs.fresns.com/zh-Hans/clients/api/post/list.html",
                    "query": {
                        "users": this.userUid,
                        "hashtags": "",
                        "geotags": "",
                        "groups": "",
                        "includeSubgroups": "",
                        "langTag": "",
                        "contentType": "",
                        "allDigest": "",
                        "digestState": "",
                        "stickyState": "",
                        "createdDays": "",
                        "createdDate": "",
                        "createdDateGt": "",
                        "createdDateLt": "",
                        "viewCountGt": "",
                        "viewCountLt": "",
                        "likeCountGt": "",
                        "likeCountLt": "",
                        "dislikeCountGt": "",
                        "dislikeCountLt": "",
                        "followCountGt": "",
                        "followCountLt": "",
                        "blockCountGt": "",
                        "blockCountLt": "",
                        "commentCountGt": "",
                        "commentCountLt": "",
                        "blockUsers": "",
                        "blockGroups": "",
                        "blockHashtags": "",
                        "blockGeotags": "",
                        "blockPosts": "",
                        "sincePid": "",
                        "beforePid": "",
                        "orderType": "",
                        "orderDirection": "",
                        "mapId": "",
                        "mapLng": "",
                        "mapLat": "",
                        "pageSize": 15
                    },
                    "randomInsertion___": "列表中随机插入",
                    "randomInsertion": {
                        "status": false,
                        "html": "<p>广告呀</p>"
                    }
                }
			}
		}
	}
</script>

<style>

</style>
